<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<div class="table-responsive">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th class="text-center"><div class="table-first-id">ID</div></th>
            <th class="text-center" width="30%">讲师名称</th>
            <th class="text-center" width="30%">创建时间</th>
            <th class="text-center" width="30%">讲师性质</th>
        </tr>
        </thead>
    </table>
    <div class="J_V_tabContent table-xScrollWrap">
        <table class="table table-bordered table-hover table-xs-content">
            <tbody>
            <tr class="jqgfirstrow" role="row">
                <th class="text-center"><div class="table-first-id">&nbsp;</div></th>
                <th class="text-center" width="30%">&nbsp;</th>
                <th class="text-center" width="30%">&nbsp;</th>
                <th class="text-center" width="30%">&nbsp;</th>
            </tr>
            <tr th:if="${#maps.isEmpty(dataMap)} or ${#lists.isEmpty(dataMap['list'])}">
                <td colspan="4" class="text-center">
                    <div class="noDataTipsBox">
                        <p><span class="c-4e fs16">亲，还没有数据~~~</span></p>
                    </div>
                </td>
            </tr>
            <tr th:if="!${#maps.isEmpty(dataMap)} and !${#lists.isEmpty(dataMap['list'])}" th:each="teacher : ${dataMap['list']}" th:attr="id='teacher-'+${teacher.id}" th:attrappend="data-name=${teacher.teacherName}">
                <td class="text-center">
                    <input th:type="${#strings.isEmpty(selectType)}?'radio':${selectType}" class="i-checks" name="teacherId" th:title="${teacher['teacherName']}" th:value="${teacher['id']}" />
                </td>
                <td class="text-center" th:attr="id='teacher-name-'+${teacher['id']}" th:text="${teacher['teacherName']}"></td>

                <td class="text-center" th:text="${#strings.substring(teacher['createTime'],0,16)}">
                </td>
                <td class="text-center">
                    <span th:if="${teacher['teacherType']}==1">平台自有</span>
                    <span th:if="${teacher['teacherType']}==2">入驻讲师</span>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <!-- 分页，开始 -->
    <div data-th-replace="layout/adminPage"></div>
    <!-- 分页，结束 -->
</div>
</html>

